<%@page import="board.BoardVo"%>
<%@page import="board.Board"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>rep_register.jsp</title>
<style>
#frm{
	margin:auto;
	width:700px;
}
#rep_register_subject1,#rep_register_subject2{
	display:inline-block;
}
#rep_register_subject1{
	width:100px;
}
#rep_register_subject{
	width:430px;
	display:inline-block;
	border:2px solid #aaaaaa;
}
#rep_register_mdate{
	width:255px;
	display:inline-block;
	border:2px solid #aaaaaa;
}
#rep_register_content{
	width:695px;
	height:400px;
	border:2px solid #aaaaaa;
	
}
#rep_register_subject3-1,#rep_register_subject3-2,#rep_register_subject3-3,#rep_register_subject3-4,#rep_register_btn{
	display:inline-block;
}
#rep_register_btn{
	float:right;
}

</style>
<script src="./board/board.js"></script>
</head>
<body>
<jsp:useBean id="boardVo" class="board.BoardVo"/>
<jsp:setProperty property="*" name="boardVo"/>

<%
Board board = new Board();
board.setVo(boardVo);
BoardVo vo = board.view();

String part = (String)session.getAttribute("part");
%>

<h2 style="text-align:center;">Community Reply Register</h2>
<form id='frm' name='community_frm' action="" method='post' enctype='multipart/form-data'>

<div id='rep_register_subject1'>
	<label>제목</label>
</div>
<div id='rep_register_subject2'>
	<input type='text' name='subject' style='width:588px'>
</div>



<div id='rep_register_content'><textarea cols='96' rows='26' name='content'></textarea></div>
<div id='rep_register_file'><input type='file' name='filename'></div>
<div id='rep_register_bot'>
<div id='rep_register_subject3'>
	<div id='rep_register_subject3-1'>아이디</div>
	<div id='rep_register_subject3-2'><input type='text' name='mid'></div>
	<div id='rep_register_subject3-3'>비밀번호</div>
	<div id='rep_register_subject3-4'><input type='password' name='pwd'></div>
	<div id='rep_register_btn'>
		<input type='button' id='btnlist' value='목록'>
		<input type='button' id='btn_rep_insert' value='답글쓰기'>
		<input type='hidden' name='grp' value='<%=boardVo.getGrp()%>'>
		<input type='hidden' name='deep' value='<%=boardVo.getDeep()%>'>
		<input type='hidden' name='part' value='<%=part %>'>
		
	</div>
</div>

</form>
<script>init();</script>
</body>
</html>